package com.ruoyi.strategy.service;

import java.util.List;

import com.ruoyi.dto.StrategyWithTypeDto;
import com.ruoyi.strategy.domain.Strategy;
import com.ruoyi.vo.StrategyWithTypeVo;

/**
 * strategyService接口
 *
 * @author sywc
 * @date 2025-01-09
 */
public interface IStrategyService
{
    /**
     * 查询strategy
     *
     * @param id strategy主键
     * @return strategy
     */
    public Strategy selectStrategyById(Integer id);

    /**
     * 查询strategy列表
     *
     * @param strategy strategy
     * @return strategy集合
     */
    public  List<StrategyWithTypeVo>  selectStrategyList(Strategy strategy);


    /**
     * 新增strategy
     *
     * @param strategy strategy
     * @return 结果
     */
    public int insertStrategy(Strategy strategy);

    /**
     * 修改strategy
     *
     * @param strategy strategy
     * @return 结果
     */
    public int updateStrategy(Strategy strategy);

    /**
     * 批量删除strategy
     *
     * @param ids 需要删除的strategy主键集合
     * @return 结果
     */
    public int deleteStrategyByIds(Integer[] ids);

    /**
     * 删除strategy信息
     *
     * @param id strategy主键
     * @return 结果
     */
    public int deleteStrategyById(Integer id);
}
